﻿namespace Catel.Articles._08___WP7_Camera.Data
{
    using System.Collections.Generic;
    using System.Net;
    using System.Windows.Media.Imaging;

    /// <summary>
    /// Real implementation of the <see cref="IPhotoRepository"/>.
    /// </summary>
    public class PhotoRepository : IPhotoRepository
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PhotoRepository"/> class.
        /// </summary>
        public PhotoRepository()
        {
            Photos = new List<BitmapSource>();

            // TODO: read from isolated storage
        }

        /// <summary>
        /// Gets the photos.
        /// </summary>
        /// <value>The photos.</value>
        public List<BitmapSource> Photos { get; private set; }
    }
}
